package liang.jiaxin.com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import liang.jiaxin.com.service.ResourceInfoService;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;


/**
 * <p>
 *   前端控制器
 * </p>
 *
 * @author Jrxsr
 * @since 2019-04-13
 */
@RestController
@RequestMapping("/api/resourceInfo")
@Api(value = "接口", description = "接口")
public class ResourceInfoController  {

	@Autowired
	ResourceInfoService resourceinfoService;

	@GetMapping(value = "/{id}")
	@ApiOperation(value = "详情", produces = MediaType.APPLICATION_JSON_VALUE)
	public Object get(@PathVariable("id") Long id) {
        return id;
	}
}